import { seckList } from '../../../request/api'
const state = {
    secklist: []
}
const getters = {
    getSeck(state) {
        return state.secklist
    }
}
const mutations = {
    REQ_LIST(state,payload){
     state.secklist=payload
    }
}
const actions = {
    getSeckActions({commit}){
        seckList().then(res=>{
            if(res.code==200){
                commit('REQ_LIST',res.list)
            }
        })
    }
}
export default {
    state,
    getters,
    mutations,
    actions,
    namespaced: true
}